package syc;

public class StoreDome {
    public static void main(String[] args) {
        Store n1 = new Store();
        Store n2 = new Store();
        Store n3 = new Store();

        n1.setName("窗口1");
        n2.setName("窗口2");
        n3.setName("窗口3");

        n1.start();
        n2.start();
        n3.start();


//        StoreR sr = new StoreR();
//        Thread t1 = new Thread(sr);
//        Thread t2 = new Thread(sr);
//        Thread t3 = new Thread(sr);
//        t1.setName("窗口1");
//        t2.setName("窗口1");
//        t3.setName("窗口1");
//        t1.start();
//        t2.start();
//        t3.start();
    }

}
